module repeat_loop;
    int a = 0;
    initial begin
    $display("-----------------------------------------------------------------");
    repeat(4) begin
        $display("\tValue of a = %0d", a);
        a += 1;
    end
    $display("-----------------------------------------------------------------");
    end   
endmodule